package biz

import (
	"context"
	"time"
)

type Category struct {
	ID        int64
	Name      string
	CreatedAt time.Time
	UpdatedAt time.Time
}

type CategoryRepo interface {
	CreateCategory(ctx context.Context, category *Category) error
	GetCategory(ctx context.Context, id int64) ([]*Note, error)
	ListCategory(ctx context.Context) ([]*Category, error)
	UpdateCategory(ctx context.Context, id int64, category *Category) error
	DeleteCategory(ctx context.Context, id int64) error
}
